const myTarget = () => {};

const proxy = new Proxy(myTarget, {
    apply(target, thisArgs, ...argumentsList) {
        console.log('apply()');
        return Reflect.apply(...arguments);
    },
});

proxy();

